import request from '@/utils/request';
// 业绩统计
export function performanceData (params) {
  return request({
    url: 'v1/index/performancdState',
    method: 'get',
    params
  });
}
// 提款统计
export function cashData (params) {
  return request({
    url: 'v1/index/cash',
    method: 'get',
    params
  });
}
// 充值统计
export function rechargeData (params) {
  return request({
    url: 'v1/index/todayCharge',
    method: 'get',
    params
  });
}
// 提现统计
export function withdrawData (params) {
  return request({
    url: 'v1/index/cashState',
    method: 'get',
    params
  });
}
// 收入统计
export function incomeData (params) {
  return request({
    url: 'v1/index/income',
    method: 'get',
    params
  });
}
// 消费统计
export function consumeData (params) {
  return request({
    url: 'v1/index/pay',
    method: 'get',
    params
  });
}
// 用户人数
export function userNumber (params) {
  return request({
    url: 'v1/index/user',
    method: 'get',
    params
  });
}
// 用户统计
export function userData (params) {
  return request({
    url: 'v1/index/userState',
    method: 'get',
    params
  });
}
// 陪玩人数
export function playerNumber (params) {
  return request({
    url: 'v1/index/playwith',
    method: 'get',
    params
  });
}
// 陪玩统计
export function playerData (params) {
  return request({
    url: 'v1/index/playwithState',
    method: 'get',
    params
  });
}